package com.lxh.empwork.dao;

import com.lxh.empwork.entity.Emp;
import com.lxh.empwork.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface EmpMapper {
    Emp getEmpByEname(@Param("ename") String ename);

    List<Emp> getEmpsByMaps(Map<String, String> parameterMap);

    int delEmp(@Param("eno") int eno);

    int addEmp(Emp e);

    Emp getEmpByEno(@Param("eno") int eno);

    int updateEmp(Emp e);
}
